﻿function getSourceArrayTests()
{
	var aTests = new TestSiute();
	var unitTest = function GetItemsFromArray(oTested)
	{
		var oResult = new TestResult();
		var aMustVals = ['Russia', 'USA', 'Germany'];
		var aActualVals = [];

		var id = oTested.attr('id');
		$('#' + id).find('li').each(function (index) { aActualVals.push($(this).data('value').toString()); });

		oResult.title = 'Get ITEMs from ARRAY';
		oResult.must = aMustVals;
		oResult.actual = aActualVals;
		return oResult;
	};
	aTests.push(unitTest);

	return aTests;
}